package com.common.redis.service;

import org.redisson.api.RLock;

/**
 * @auther WuJun.Zhang
 * @date 2022/5/17 下午4:44
 */
public interface ILockService {

    RLock lock(String key);

    void unLock(RLock lock);
}
